| Total Complexity | 30 |
| Dependencies | 5 |
| Dependents | 1 |
| Total lines | 216 |
| Lines of code | 95 |
| Logical lines of code | 39 |
| Comment lines | 96 |
| Methods | 10 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| productStockChange() | 53 | 6 | 26 | |
| resolveProductFromProductVariation() | 59 | 6 | 16 | |
| resolveProductPostId() | 63 | 4 | 11 | |
| __construct() | 63 | 3 | 10 | |
| shouldPurgeCacheOnStockCommonCondition() | 66 | 3 | 9 | |
| productVariationStockChange() | 74 | 2 | 5 | |
| shouldPurgeCacheOnStockAmountChange() | 71 | 2 | 6 | |
| shouldPurgeCacheOnStockStatusChange() | 71 | 2 | 6 | |
| productStockStatusChange() | 81 | 1 | 3 | |
| productVariationStockStatusChange() | 81 | 1 | 3 |